import Vue from 'vue'
import Router from 'vue-router'

import HelloWorld from '@/components/HelloWorld'
import login from '@/components/login'
import index from '@/components/index'
import show from '@/components/show'
import bossshow from '@/components/bossshow'
import showall from '@/components/showall'
import boss from '@/components/boss'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/login',
      name: 'login',
      component: login
    },
    {
      path: '/index',
      name: 'index',
      component: index
    },
    {
      path: '/show',
      name: 'show',
      component: show
    },
    {
      path: '/boss',
      name: 'boss',
      component: boss
    },
    {
      path: '/bossshow',
      name: 'bossshow',
      component: bossshow
    },
    {
      path: '/showall',
      name: 'showall',
      component: showall
    },
  ]
})
